import {
    ImgPreview,
    Lazyload,
    Loading,
    InfiniteLoad,
    PullRefresh,
    Navbar,
    Icon,
    Tab,
    Tabs,
    Toast,
    Popup,
    Slider
} from 'wot-design'

const UIComponents = [
    ImgPreview,
    Lazyload,
    Loading,
    InfiniteLoad,
    PullRefresh,
    Navbar,
    Icon,
    Tab,
    Tabs,
    Toast,
    Popup,
    Slider 
     
]

const WotUIPlugin = {};

WotUIPlugin.install = function (Vue) {

    UIComponents.forEach(Component => {
        Vue.use(Component)

    })
}
export default WotUIPlugin;